runtime.p.status (field)

35 uses

	runtime (current package)
		mgc.go#L1204: 		if pp.status == _Pidle {
		mgcpacer.go#L720: 		if p.status != _Prunning {
		preempt.go#L288: 	return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning
		proc.go#L1586: 	gp.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
		proc.go#L1592: 		s := pp.status
		proc.go#L1593: 		if s == _Psyscall && atomic.Cas(&pp.status, s, _Pgcstop) {
		proc.go#L1613: 		pp.status = _Pgcstop
		proc.go#L1650: 			if pp.status != _Pgcstop {
		proc.go#L2106: 		s := p2.status
		proc.go#L2111: 		if s == _Psyscall && p2.runSafePointFn == 1 && atomic.Cas(&p2.status, s, _Pidle) {
		proc.go#L3077: 		pp.status = _Pgcstop
		proc.go#L3230: 	pp.status = _Pgcstop
		proc.go#L4514: 	atomic.Store(&pp.status, _Psyscall)
		proc.go#L4561: 	if sched.stopwait > 0 && atomic.Cas(&pp.status, _Psyscall, _Pgcstop) {
		proc.go#L4769: 	if oldp != nil && oldp.status == _Psyscall && atomic.Cas(&oldp.status, _Psyscall, _Pidle) {
		proc.go#L5625: 	pp.status = _Pgcstop
		proc.go#L5730: 	pp.status = _Pdead
		proc.go#L5808: 		gp.m.p.ptr().status = _Prunning
		proc.go#L5831: 		pp.status = _Pidle
		proc.go#L5865: 		pp.status = _Pidle
		proc.go#L5923: 	if pp.m != 0 || pp.status != _Pidle {
		proc.go#L5931: 			print("wirep: p->m=", pp.m, "(", id, ") p->status=", pp.status, "\n")
		proc.go#L5937: 	pp.status = _Prunning
		proc.go#L5958: 	if pp.m.ptr() != gp.m || pp.status != _Prunning {
		proc.go#L5959: 		print("releasep: m=", gp.m, " m->p=", gp.m.p.ptr(), " p->m=", hex(pp.m), " p->status=", pp.status, "\n")
		proc.go#L5964: 	pp.status = _Pidle
		proc.go#L6275: 		s := pp.status
		proc.go#L6315: 			if atomic.Cas(&pp.status, s, _Pidle) {
		proc.go#L6342: 		if pp.status != _Prunning {
		proc.go#L6410: 			print("  P", i, ": status=", pp.status, " schedtick=", pp.schedtick, " syscalltick=", pp.syscalltick, " m=")
		proc.go#L6953: 					if pp.status == _Prunning {
		runtime2.go#L653: 	status      uint32 // one of pidle/prunning/...
		tracestatus.go#L79: 	switch pp.status {
		tracestatus.go#L82: 		if pp.status == _Pgcstop && inSTW {